package com.megvii.koala.net.login;

import com.megvii.corelib.net.RequestParam;
import com.megvii.corelib.net.request.MegviiRequest;
import com.megvii.koala.net.Commands;

/**
 * Created by linyue on 15/12/20.
 */
public class LoginRequest implements MegviiRequest
{
    @RequestParam
    public String username;

    @RequestParam
    public String password;

    @RequestParam
    public String os;

    public LoginRequest(String username, String password)
    {
        super();
        this.username = username;
        this.password = password;
        this.os = "1";
    }

    @Override
    public String getCommand()
    {
        return Commands.LOGIN;
    }
}
